package day02;

/**
 * @author yzh
 * @desc TODO
 * @date 2025/4/8
 */
public class Test03 {
    public static void main(String[] args) {
        int s = 5; // A在B前面5km
        int va = 1; // A速度为1km/h
        int vb = 2; // B速度为2km/h
        int v = vb - va;
        int t = s / v;
        System.out.println("B在"+t+"h后赶上A");
    }
}
